using System;
using System.ComponentModel;
using System.Diagnostics;


namespace SIS.ENT
{


    public class LocationTable
    {

        #region "Private Variables"
        private int _locationKey;
        private int _schoolKey;
        private string _locationCode;
        private string _locationName;
        private int _contactPersonKey;
        private string _contactNo;
        private string _faxNo;
        private string _emailAddress;
        private string _websiteUrl;
        private string _address1;
        private string _address2;
        private string _streetName;
        private short _townshipCode;
        private short _cityCode;
        private short _districtCode;
        private short _countryCode;
        private string _postalCode;
        private short _addressTypeCode;
        private string _remark;
        private short _status;
        private DateTime _createdDateTime = DateTime.MinValue;
        private DateTime _modifiedDateTime = DateTime.MinValue;
        private ClassRoomLocationTableList _classRoomLocationTables = new ClassRoomLocationTableList();

        #endregion

        #region "Public Properties"
        /// <summary>
        /// Gets or sets the LocationKey of the LocationTable.
        /// </summary>
        [DataObjectFieldAttribute(true, true, false)]
        public int LocationKey
        {
            get
            {
                return _locationKey;
            }
            set
            {
                _locationKey = value;
            }
        }

        /// <summary>
        /// Gets or sets the SchoolKey of the LocationTable.
        /// </summary>
        public int SchoolKey
        {
            get
            {
                return _schoolKey;
            }
            set
            {
                _schoolKey = value;
            }
        }

        /// <summary>
        /// Gets or sets the LocationCode of the LocationTable.
        /// </summary>
        public string LocationCode
        {
            get
            {
                return _locationCode;
            }
            set
            {
                _locationCode = value;
            }
        }

        /// <summary>
        /// Gets or sets the LocationName of the LocationTable.
        /// </summary>
        public string LocationName
        {
            get
            {
                return _locationName;
            }
            set
            {
                _locationName = value;
            }
        }

        /// <summary>
        /// Gets or sets the ContactPersonKey of the LocationTable.
        /// </summary>
        public int ContactPersonKey
        {
            get
            {
                return _contactPersonKey;
            }
            set
            {
                _contactPersonKey = value;
            }
        }

        /// <summary>
        /// Gets or sets the ContactNo of the LocationTable.
        /// </summary>
        public string ContactNo
        {
            get
            {
                return _contactNo;
            }
            set
            {
                _contactNo = value;
            }
        }

        /// <summary>
        /// Gets or sets the ContactNo of the LocationTable.
        /// </summary>
        public string FaxNo
        {
            get
            {
                return _faxNo;
            }
            set
            {
                _faxNo = value;
            }
        }

        /// <summary>
        /// Gets or sets the EmailAddress of the LocationTable.
        /// </summary>
        public string EmailAddress
        {
            get
            {
                return _emailAddress;
            }
            set
            {
                _emailAddress = value;
            }
        }

        /// <summary>
        /// Gets or sets the WebsiteUrl of the LocationTable.
        /// </summary>
        public string WebsiteUrl
        {
            get
            {
                return _websiteUrl;
            }
            set
            {
                _websiteUrl = value;
            }
        }

        /// <summary>
        /// Gets or sets the Address1 of the LocationTable.
        /// </summary>
        public string Address1
        {
            get
            {
                return _address1;
            }
            set
            {
                _address1 = value;
            }
        }
        /// <summary>
        /// Gets or sets the Address2 of the LocationTable.
        /// </summary>
        public string Address2
        {
            get
            {
                return _address2;
            }
            set
            {
                _address2 = value;
            }
        }
        /// <summary>
        /// Gets or sets the StreetName of the LocationTable.
        /// </summary>
        public string StreetName
        {
            get
            {
                return _streetName;
            }
            set
            {
                _streetName = value;
            }
        }
        /// <summary>
        /// Gets or sets the TownshipCode of the LocationTable.
        /// </summary>
        public short TownshipCode
        {
            get
            {
                return _townshipCode;
            }
            set
            {
                _townshipCode = value;
            }
        }
        /// <summary>
        /// Gets or sets the CityCode of the LocationTable.
        /// </summary>
        public short CityCode
        {
            get
            {
                return _cityCode;
            }
            set
            {
                _cityCode = value;
            }
        }
        /// <summary>
        /// Gets or sets the DistrictCode of the LocationTable.
        /// </summary>
        public short DistrictCode
        {
            get
            {
                return _districtCode;
            }
            set
            {
                _districtCode = value;
            }
        }
        /// <summary>
        /// Gets or sets the CountryCode of the LocationTable.
        /// </summary>
        public short CountryCode
        {
            get
            {
                return _countryCode;
            }
            set
            {
                _countryCode = value;
            }
        }
        /// <summary>
        /// Gets or sets the PostalCode of the LocationTable.
        /// </summary>
        public string PostalCode
        {
            get
            {
                return _postalCode;
            }
            set
            {
                _postalCode = value;
            }
        }
        /// <summary>
        /// Gets or sets the AddressTypeCode of the LocationTable.
        /// </summary>
        public short AddressTypeCode
        {
            get
            {
                return _addressTypeCode;
            }
            set
            {
                _addressTypeCode = value;
            }
        }
        /// <summary>
        /// Gets or sets the Remark of the LocationTable.
        /// </summary>
        public string Remark
        {
            get
            {
                return _remark;
            }
            set
            {
                _remark = value;
            }
        }
        /// <summary>
        /// Gets or sets the Status of the LocationTable.
        /// </summary>
        public short Status
        {
            get
            {
                return _status;
            }
            set
            {
                _status = value;
            }
        }
        /// <summary>
        /// Gets or sets the CreatedDateTime of the LocationTable.
        /// </summary>
        public DateTime CreatedDateTime
        {
            get
            {
                return _createdDateTime;
            }
            set
            {
                _createdDateTime = value;
            }
        }
        /// <summary>
        /// Gets or sets the ModifiedDateTime of the LocationTable.
        /// </summary>
        public DateTime ModifiedDateTime
        {
            get
            {
                return _modifiedDateTime;
            }
            set
            {
                _modifiedDateTime = value;
            }
        }
        /// <summary>
        ///Gets or sets a collection of <see cref="ClassRoomLocationTable" /> instances for the LocationTable.
        /// </summary>

        public ClassRoomLocationTableList classRoomLocationTables
        {
            get
            {
                return _classRoomLocationTables;
            }
            set
            {
                _classRoomLocationTables = value;
            }
        }

        #endregion

    }
}
